package com.dataseek.iot.mysql.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2021-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "远控")
public class Control implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "control_inner_id", type = IdType.AUTO)
    private Long controlInnerId;

    /**
     * 远控编码
     */
    @ApiModelProperty(value = "远控编码",required = true)
    private String controlCode;

    /**
     * 远控名称
     */
    @ApiModelProperty(value = "远控名称",required = true)
    private String controlName;

    /**
     * 参数ID
     */
    @ApiModelProperty(value = "字典ID",required = true)
    private String paramId;

    /**
     * 参数名称
     */
    @ApiModelProperty(value = "参数名称",required = false)
    private String paramName;

    /**
     * 参数类型
     */
    @ApiModelProperty(value = "参数类型",required = false)
    private String paramType;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    /**
     * 更新时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;

    /**
     * 产品ID
     */
    @ApiModelProperty(value = "产品ID",required = true)
    private String productId;




}
